<?php 

class Form_Repository_Help extends App_Form_Backend {

	function init() {
		parent::init();
		
		$this->addElement('text', 'code', array(
			'label' => 'Klucz pomocy',
			'required' => true,
			'class' => 'text-input small-input'
		));
		
		$this->addElement('text', 'title', array(
			'label' => 'Tytuł',
			'required' => true,
			'class' => 'text-input small-input'
		));
		
		$this->addElement('textarea', 'contents', array(
			'label' => 'Treść',
			'required' => true,
			'class' => 'wysiwyg'
		));
		
		$this->addElement('submit', 'submit', array(
			'label' => 'Zapisz',
			'ignore' => true,
			'class' => 'button'
		));
		
	}

}